package cn.tedu.medicalpath.order.pojo.vo;

import cn.tedu.medicalpath.prescription.pojo.vo.PrescriptionMedicineVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PrescriptionOrderVO {
    @ApiModelProperty("处方单id")
    private Long id;

    @ApiModelProperty("患者id")
    private Long patientId;
    @ApiModelProperty("患者姓名")
    private String name;
    @ApiModelProperty("患者身份证号")
    private String personId;
    @ApiModelProperty("患者年龄")
    private String age;

    @ApiModelProperty("医生id")
    private Long doctorId;
    @ApiModelProperty("医生姓名")
    private String doctorName;

    @ApiModelProperty("处方单状态")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("处方单时间")
    private Date updateTime;
    @ApiModelProperty("检查单或处方单价格")
    private Integer price;
    @ApiModelProperty("检查单或处方单医保价格")
    private Integer insurancePrice;

    @ApiModelProperty("处方单药品列表")
    private List<PrescriptionMedicineVO> medicineVOList;
}
